package org.dromara.netbar.domain.vo;

import java.math.BigDecimal;
import org.dromara.netbar.domain.NetbarMemberLevel;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 会员等级管理视图对象 netbar_member_level
 *
 * @author Lion Li
 * @date 2025-07-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = NetbarMemberLevel.class)
public class NetbarMemberLevelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 等级ID
     */
    @ExcelProperty(value = "等级ID")
    private Long levelId;

    /**
     * 等级名称（如黄金/铂金）
     */
    @ExcelProperty(value = "等级名称", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "如=黄金/铂金")
    private String levelName;

    /**
     * 单次充值阈值
     */
    @ExcelProperty(value = "单次充值阈值")
    private BigDecimal minRecharge;

    /**
     * 是否自动升级
     */
    @ExcelProperty(value = "是否自动升级", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sysNormalDisable")
    private String isAutoUpgrade;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
